// 对项目中网络请求的 api 进行封装

// const HOST_NAME = "http://39.107.226.16:1010/index.php/";
const HOST_NAME = "";
const HOST_NAME2 = "http://192.168.10.66:88";
const PATH_NAME = "XAH210603/管理表/";
const HEADER = {"content-type":"application/x-www-form-urlencoded"};

// baseUrl = 'http://192.168.10.66:88/index.php/'
// codeUrl = 'http://192.168.10.66'
export default {
	HOST:`${HOST_NAME2}`,
	HEADER,
	HOME_banner:`${HOST_NAME}api/index/banner`,
	USER_order:`${HOST_NAME}api/index/latestOrder`,
	MONEY_Four:`${HOST_NAME}api/user/wallet`,
	HOME_mainCoin:`${HOST_NAME}api/index/mainCoin`,
	MONEY_get:`${HOST_NAME}api/user/walletlog`,
	MONEY_wallet:`${HOST_NAME}api/user/wallet`,
	LOGON_user:`${HOST_NAME}api/user/register`,
	LOGIN_user:`${HOST_NAME}api/user/login`,
	MINE_userId:`${HOST_NAME}api/user/index`,
	FORGET_pass:`${HOST_NAME}api/user/resetpwd`,
	PACTURE_onload:`${HOST_NAME}api/common/uploads`,
	HOT_ITC:`${HOST_NAME}api/index/hotMachine`,
	GOOD_ITC:`${HOST_NAME}api/goods/goodsClass`,
	GOODS_ITC:`${HOST_NAME}api/goods/goodslist`,
	CONFIRM_ORDER:`${HOST_NAME}api/order/confirmOrder`,
	ORDER_PAYMENT:`${HOST_NAME}api/order/orderPayment`,
	MACHUBE_COUNT:`${HOST_NAME}api/user/machinecount`,
	MACHUBE_LIST:`${HOST_NAME}api/user/machinelist`,
	GOOD_INFO:`${HOST_NAME}api/goods/goodsinfo`,
	RESETPWD:`${HOST_NAME}api/user/resetpwd`,
	CHANGEMobile:`${HOST_NAME}api/user/changemobile`,
	CHANGEPaywd:`${HOST_NAME}api/user/changepaypwd`,
	CHANGEPwd:`${HOST_NAME}api/user/changepwd`,
	RESETPaywd:`${HOST_NAME}api/user/resetpaypwd`,
	USER_profile:`${HOST_NAME}api/user/profile`,
	VER_Code:`${HOST_NAME}api/sms/send`,
	WITHDRAW_COIN:`${HOST_NAME}api/user/withdrawcoin`,
	COMMUNITY: `${HOST_NAME}api/user/community`,
	GOODS_INFO: `${HOST_NAME}api/goods/goodsinfo`,
	USERACCOUNTLOG: `${HOST_NAME}api/user/userAccountLog`,
	VERSIONUPDATE: `${HOST_NAME}addons/version/index/versionUpdate`,
	USERHNT: `${HOST_NAME}api/Statistics/userHNT`,
	CURRENCYNEWS: `${HOST_NAME}api/index/currencyNews`
}